package com.neusoft.neuiotms.dcom.service.hn;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.hn.HnInspectionItemDTO;

public interface HnInspectionItemService {

    List<HnInspectionItemDTO> index(Searchable searchable);

    Page<HnInspectionItemDTO> search(Pageable pageable, Searchable searchable);

    HnInspectionItemDTO create(HnInspectionItemDTO dto, UserBean user);

    HnInspectionItemDTO update(Long id, HnInspectionItemDTO dto, UserBean user);

    HnInspectionItemDTO details(Long id);

    void delete(Long id);
}
